package com.ybg.user.business.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 用户表
    */
@ApiModel(value = "用户信息",parent = FrontUserInfo.class)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "user_info")
public class UserInfo extends BaseUserInfo{
    @ApiModelProperty("用户加密盐")
    @TableField(value = "salt", updateStrategy = FieldStrategy.NOT_NULL)
    private String salt;
}